package top.heue.temp.fragment.main

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import top.heue.temp.databinding.FragmentMainBinding
import top.heue.utils.base.base.BaseFragment
import top.heue.utils.base.helper.inflate
import top.heue.utils.lifecycle.helper.viewModel

class MainFragment : BaseFragment() {
    private val mainModel: MainModel by viewModel()
    private val bind: FragmentMainBinding by inflate {
        main = mainModel
    }

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View {
        return bind.root
    }

}